FROM pi4k8s/openjdk8:centos7

ADD bms-server.jar /opt

ENV JAVA_OPTS "-Xms512m -Xmx512m"

WORKDIR /opt

ENTRYPOINT java ${JAVA_OPTS} -jar bms-server.jar
